﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="logon.aspx.cs" Inherits="IndividualTask.logon" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Сеть кинотеатров</title>
</head>

<body>
    <form id="form1" runat="server">
    <div>
    <table align="left" border="10" style="width:100%">
     <tr> <td height="50" bgcolor="FFFFCC" align="center"><font size="6" />Сеть кинотеатров</td></tr>
</table>
        <br />
        <br />
        <br />
        <br />
<hr align="left" size="5" color="#F4A460" style="width: 100%"/>

<table border="10" style="width: 100%; height: 400px;">
    <tr>
        <td valign="top" style="width: 20%">
           
            <asp:HyperLink ID="HyperLink2" runat="server" Font-Size="X-Large" 
                NavigateUrl="~/index.aspx">Главная</asp:HyperLink>
            <br />
            <br />
            <asp:HyperLink ID="HyperLink1" runat="server" Font-Size="X-Large" 
                NavigateUrl="~/cinema.aspx">Кинотеатры</asp:HyperLink>
                      <br />
            <br />
            <asp:HyperLink ID="HyperLink3" runat="server" Font-Size="X-Large" 
                NavigateUrl="~/newSession.aspx">Новый сеанс</asp:HyperLink>
           
            <br />
            <br />
            <asp:HyperLink ID="HyperLink5" runat="server" Font-Size="X-Large" 
                NavigateUrl="~/logon.aspx">Вход</asp:HyperLink>
            <br />
            <br />
            <asp:Panel ID="Panel2" runat="server" Height="63px" Visible="False">
                <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/myAccount.aspx">Мой выбор!</asp:HyperLink>
                <br />
                <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Выйти" />
            </asp:Panel>
            <br />
            <br />
            <br />
           
        </td>        
        <td valign="top"  >
            <font size="3"/>
            <p align="left">
                Пройдите авторизацию.</p>
            <asp:Panel ID="Panel3" runat="server" Height="88px">
                <font size="3"/>
                <asp:Label ID="Label1" runat="server" Text="Login"></asp:Label>
                <asp:TextBox ID="TextBox1" runat="server" Width="132px"></asp:TextBox>
                <br />
                <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
                <asp:TextBox ID="TextBox2" runat="server" TextMode="Password" Width="105px"></asp:TextBox>
                <br />
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Вход" 
                    Width="67px" />
                <br />
                <asp:Label ID="Label3" runat="server" Font-Size="Small" ForeColor="Red" 
                    Text="Проверьте вводимые значения" Visible="False"></asp:Label>
                </font>
            </asp:Panel>
            <p align="left">
                Или зарегистрируйтесь.</p>
            <asp:Panel ID="Panel4" runat="server">
                <font size="3"/>
                <asp:Label ID="Label4" runat="server" Text="Login"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="TextBox3" runat="server" Width="104px"></asp:TextBox>
                <br />
                <asp:Label ID="Label5" runat="server" Text="Password"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="TextBox4" runat="server" TextMode="Password" Width="105px"></asp:TextBox>
                <br />
                <asp:Label ID="Label6" runat="server" Text="Confirm password"></asp:Label>
                &nbsp;&nbsp;
                <asp:TextBox ID="TextBox5" runat="server" TextMode="Password" Width="105px"></asp:TextBox>
                <br />
                <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
                    Text="Подтвердить" Width="82px" />
                <br />
                <asp:Label ID="Label7" runat="server" Font-Size="Small" ForeColor="Red" 
                    Text="Пользователь с таким логином существует, либо пароли не совпадают." 
                    Visible="False"></asp:Label>
            </asp:Panel>
        </td>
    </tr>
</table>
<hr align="left" size="3" color="#F4A460" style="width: 100%"  />
<h5 align="right" title="Авторские права автора"/>&copy;Письма
</div>
</form> 
</body>
</html>